
{* Extend our master template *}
{extends file="master.tpl"}

{* This block is defined in the master.php template *}
{block name=content}
    <div class="panel panel-default">
        <div class="panel-heading">
            <div class="panel-btns">
                <a href="#" class="panel-close">&times;</a>
                <a href="#" class="minimize">&minus;</a>
            </div><!-- panel-btns -->
            <h3 class="panel-title">{$title}</h3>
            <div class="row">
              <div class="col-md-10"><p>{$sub_title}</p></div>
              <div class="col-md-2">{include file="components/button_add.tpl"}</div>
            </div>
        </div>
        <div class="panel-body">
            <div class="table-responsive">
                <table class="table table-hover table-striped" id="serverSide">
                    <thead>
                        <tr>
                            <th>{'id'|trans}</th>
    		                <th>{'section'|trans}</th>
    		                <th>{'catalogue'|trans}</th>
    		                <th>{'title'|trans}</th>
    		                <th>{'author'|trans}</th>
    		                <th>{'check'|trans}</th>
    		                <th>{'created_at'|trans}</th>
    		                <th>{'action_edit'|trans}</th>
                            <th>{'action_delete'|trans}</th>
                        </tr>
                    </thead>
                </table>
            </div><!-- table-responsive -->
        </div>
    </div>
{/block}